package com.hilon.base.entity;

import com.hilon.base.entity.Base;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;

@Data
@Entity
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
public abstract class BaseCategory extends Base {
    private String categoryNo;
    private String categoryName;
    private String categoryDescribe;
}
//单独的分类表
